package com.zcp.pcsuitall.test;

public class Synchronous {
    
    private static Integer count=0;
    
    
    public static synchronized boolean isStart()
    {
        return count==1;
    }
    
    
    public static synchronized void setStart()
    {
        count=1;
    }
    
    public static synchronized void setStop()
    {
        count=0;
    }
    
}
